package com.terren.spider.db.service;

import java.util.List;

import com.terren.spider.db.basic.IBasicServiceSupport;
import com.terren.spider.entity.biz.ArticleSearch;

public interface ArticleSearchService extends IBasicServiceSupport{
	/**
	 * 
	 * @param items
	 * @throws Exception
	 */
	public void save(List<ArticleSearch> items) throws Exception;
	
	/**
	 * 
	 * @param items
	 * @throws Exception
	 */
	public void saveDetail(List<ArticleSearch> items) throws Exception;
	
	/**
	 * 从 t_article_search_title中获取内容
	 * @param param 参数 taskid , sourceId
	 * @throws Exception
	 */
	
	public List<ArticleSearch> findArticleSearchTitle(ArticleSearch param) throws Exception;
	
	/**
	 * save to `t_article_search_title`
	 * @param items
	 * @throws Exception
	 */
	public void saveTitleInfo(List<ArticleSearch> items) throws Exception;
	
}
